package cn.jit.ssm.mapper;

import cn.jit.ssm.beans.entity.JitRole;
import cn.jit.ssm.beans.entity.JitRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JitRoleMapper {
    int countByExample(JitRoleExample example);

    int deleteByExample(JitRoleExample example);

    int deleteByPrimaryKey(Long roleId);

    int insert(JitRole record);

    int insertSelective(JitRole record);

    List<JitRole> selectByExample(JitRoleExample example);

    JitRole selectByPrimaryKey(Long roleId);

    int updateByExampleSelective(@Param("record") JitRole record, @Param("example") JitRoleExample example);

    int updateByExample(@Param("record") JitRole record, @Param("example") JitRoleExample example);

    int updateByPrimaryKeySelective(JitRole record);

    int updateByPrimaryKey(JitRole record);
}